package com.robot.dao;


import com.robot.model.Protocol;
import com.robot.model.TestCase;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: li
 * Date: 2019/6/16
 * Time: 16:51
 * PROJECT：robot
 * PACKAGE: com.robot
 *
 * @author:55324936@qq.com To change this template use File | Settings | File Templates.
 */
@Mapper
public interface TestCaseMapper {

    public int addTestCase(TestCase testCase);

    public int updateTestCase(TestCase testCase);

    public List<TestCase> getTestCaseList(TestCase testCase);

    public int removeTestCase(List ids);

    public int removeTestCaseByInterfaceId(Integer interfaceId);

    public TestCase getTestCaseById(Integer id);

    public List<TestCase> getTestCaseByIds(List<Integer> ids);

    /**
     * 获取测试用例总数量
     * **/
    public Long totalCount();
}
